package com.crm.model.vo.orderManager;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @ Author ：pym
 * @ Date   ：2021/7/23 10:04
 */
@Data
public class OrderRawDataVO {
    private String orderRawDataId;//主键

    private String orderCreateTm;//订单创建时间

    private String company;//所属分公司

    private String owner;//所有人

    private String sonOwner;//子所有人

    private String orderStatus;//订单状态

    private String orderType;//订单类型

    private String orderNumber;//订单编号

    private String customerName;//所属客户

    private String ownerContactPerson;//所属联系人

    private String contractNumber;//所属合同

    private String buyProduct;//购买产品

    private String unitPriceOfProduct;//产品单价

    private String couponCode;//优惠券码

    private String discountAmount;//优惠金额

    private String discountDescription;//优惠说明

    private String actualTransactionPrice;//实际成交价格

    private String paymentMethod;//支付方式

    private String orderDiscount;//订单折扣

    private String paybackStatus;//回款状态

    private String businessOpportunity;//所属商机

    private String remark;//备注

    private String whetherHang;//是否挂起

    private String whetherRefund;//是否有退款

    private String contractStartDate;//所属合同开始日期

    private String contractEndDate;//所属合同结束日期

    private String masterMemberContract;//主会员合同

    private String membershipCardLevel;//会员卡级别

    private String arrivalMoneyMethod;//到款方式

    private String sourceChannel;//来源渠道

    private String bindMobilePhoneNum;//绑定手机号

    private String contactPerson;//联系人

    private String uidUserNumber;//UID用户编号

    private String wechatId;//学习顾问企业微信ID

    private String merchantOrderNumber;//商户单号

    private String productCode;//产品编码

    private String customerMasterOwner;//客户主所有人

    private String arrivalMoneyDate;//到款日期

    private String isItAllPaid;//是否全部到款

    private String totalAmountReturned;//已回款金额合计

    private String refundDate;//退款日期

    private String membershipCardType;//会员卡类型

    private String companyNumber;//分公司编号

    private String membershipClassification;//会员分类

    private String membershipCardNumber;//会员卡号

    private String taxLawThroughTrainCardNumber;//税法直通车卡号

    private String cooperativeDevelopmentOrNot;//是否合作开发

    private String cooperativeDeveloper;//合作开发人

    private String originalCustomerId;//原客户ID

    private String whetherToDeleteOrNot;//是否删除

    private String attachment;//附件

    private String clueClassification;//线索分类

    private String whetherTheInspection;//是否查验

    private String mailbox;//邮箱

    private String consumptionTimes;//消费次数

    private String consumptionStatus;//消费状态

    private String adjustmentRecord;//调整记录

    private String commissionDistributionStatus;//提成发放状态

    private String branchGeneralManager;//分公司总经理

    private String orderUpdateTime;//订单更新时间

    private String orderCreatePeople;//订单创建人

    private String orderUpdatePeople;//订单修改人

    private String timesOfPayment;//到款次数

    private String whetherHaveMembershipCard;//是否已有会员卡

    private String whetherHasInvoiced;//是否已开发票

    private String invoiceNumber;//发票号码

    private String invoiceAmount;//发票金额

    private String whetherDiscountAmountApproved;//优惠金额审批是否通过

    private String whetherDiscountApproved;//优惠是否已审批通过

    private String createPeopleId;//创建人

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTm;//创建时间

    private String updatePeopleId;//更新人

    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date updateTm;//更新时间

    private Short deleteStatus;//删除状态--0:正常；1：已删除

    private String exchangeCode;//兑换码
}
